package com.hnevc.usbdemo;

public class Test {
	public static void main(String[] args){
	Usb mouse=new Mouse();
	Usb keyboard=new KeyBoard();
	Usb uDisk =new UDisk();
	
	Computer computer=new Computer();
    Computer computer1 = new Computer();   
        computer1.add(mouse);  
        computer1.add(uDisk);  
        computer1.add(keyboard);  
          
       computer.powerOn();  
       computer1.poweroff();  


}
}